package com.diaohw.module.file.obj.entity;

import com.diaohw.platform.framework.db.flex.obj.model.BaseModel;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.io.Serial;
import java.io.Serializable;

/**
 * 用户上传表 实体类。
 *
 * @author D-Hw
 * @since 2024-11-22 17:21:01
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "用户上传表")
@Table("ACCOUNT_FILE")
public class AccountFileDO extends BaseModel implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 文件名称
     */
    @Column("FILENAME")
    @Schema(description = "文件名称")
    private String filename;

    /**
     * 文件大小
     */
    @Column("FILE_LENGTH")
    @Schema(description = "文件大小")
    private Integer length;

    /**
     * 文件ID
     */
    @Column("FILE_ID")
    @Schema(description = "文件ID")
    private String fileId;

    /**
     * 目录ID
     */
    @Column("CATALOG_ID")
    @Schema(description = "目录ID")
    private String catalogId;

    /**
     * 文件后缀
     */
    @Column("EXT")
    @Schema(description = "文件后缀")
    private String ext;

    /**
     * 备注
     */
    @Column("REMARK")
    @Schema(description = "备注")
    private String remark;


}
